<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./Swiper-2.7.6/src/idangerous.swiper.css" />
    <script src="./Swiper-2.7.6/src/idangerous.swiper.js"></script>
  </head>
  <body>
    <div class="swiper-container">
      <div class="swiper-wrapper">
        <div class="swiper-slide">Slide1</div>
        <div class="swiper-slide">Slide2</div>
        <div class="swiper-slide">Slide3</div>
      </div>
    </div>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.js"></script>
    <script>
      window.onload = function () {
        // var mySwiper = new Swiper(".swiper-container", {
        //   loop: true,
        //   //其他设置
        //   autoplay: 1000,
        // });
        // var mySwiper = new Swiper(".swiper-container", {
        //   loop: true,
        //   autoplay: 1000,
        //   grabCursor: true,
        // });
      };
    </script>
  </body>
</html>
